FROM httpd:2.4

RUN sed -i '$a <Location /server-status>' /usr/local/apache2/conf/httpd.conf \
  && sed -i '$a SetHandler server-status' /usr/local/apache2/conf/httpd.conf \
  && sed -i '$a Order Deny,Allow' /usr/local/apache2/conf/httpd.conf \
  && sed -i '$a Deny from all' /usr/local/apache2/conf/httpd.conf \
  && sed -i '$a Allow from 10.100.65.119' /usr/local/apache2/conf/httpd.conf \
  && sed -i '$a </Location>' /usr/local/apache2/conf/httpd.conf
